package com.maimai.entity;

public class Goods {
    /**
     * 主键
     */
    private Integer id;

    /**
     * 名称
     */
    private String goodsname;

    /**
     * 描述
     */
    private String goodsdesc;

    /**
     * 价格
     */
    private Double price;

    /**
     * 库存
     */
    private Integer stock;

    /**
     * 分类1
     */
    private Integer classifylevel1id;

    /**
     * 分类2
     */
    private Integer classifylevel2id;

    /**
     * 分类3
     */
    private Integer classifylevel3id;

    /**
     * 文件名称
     */
    private String filename;

    /**
     * 是否删除(1：删除 0：未删除)
     */
    private Integer isdelete;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getGoodsname() {
        return goodsname;
    }

    public void setGoodsname(String goodsname) {
        this.goodsname = goodsname;
    }

    public String getGoodsdesc() {
        return goodsdesc;
    }

    public void setGoodsdesc(String goodsdesc) {
        this.goodsdesc = goodsdesc;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public Integer getStock() {
        return stock;
    }

    public void setStock(Integer stock) {
        this.stock = stock;
    }

    public Integer getClassifylevel1id() {
        return classifylevel1id;
    }

    public void setClassifylevel1id(Integer classifylevel1id) {
        this.classifylevel1id = classifylevel1id;
    }

    public Integer getClassifylevel2id() {
        return classifylevel2id;
    }

    public void setClassifylevel2id(Integer classifylevel2id) {
        this.classifylevel2id = classifylevel2id;
    }

    public Integer getClassifylevel3id() {
        return classifylevel3id;
    }

    public void setClassifylevel3id(Integer classifylevel3id) {
        this.classifylevel3id = classifylevel3id;
    }

    public String getFilename() {
        return filename;
    }

    public void setFilename(String filename) {
        this.filename = filename;
    }

    public Integer getIsdelete() {
        return isdelete;
    }

    public void setIsdelete(Integer isdelete) {
        this.isdelete = isdelete;
    }

    @Override
    public String toString() {
        return "Goods{" +
                "id=" + id +
                ", goodsname='" + goodsname + '\'' +
                ", goodsdesc='" + goodsdesc + '\'' +
                ", price=" + price +
                ", stock=" + stock +
                ", classifylevel1id=" + classifylevel1id +
                ", classifylevel2id=" + classifylevel2id +
                ", classifylevel3id=" + classifylevel3id +
                ", filename='" + filename + '\'' +
                ", isdelete=" + isdelete +
                '}';
    }
}
